package com.kurumi.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class StoreExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StoreExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNull() {
            addCriterion("province is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNotNull() {
            addCriterion("province is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEqualTo(String value) {
            addCriterion("province =", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotEqualTo(String value) {
            addCriterion("province <>", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThan(String value) {
            addCriterion("province >", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("province >=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThan(String value) {
            addCriterion("province <", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThanOrEqualTo(String value) {
            addCriterion("province <=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLike(String value) {
            addCriterion("province like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotLike(String value) {
            addCriterion("province not like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceIn(List<String> values) {
            addCriterion("province in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotIn(List<String> values) {
            addCriterion("province not in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceBetween(String value1, String value2) {
            addCriterion("province between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotBetween(String value1, String value2) {
            addCriterion("province not between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andDrugStoreIsNull() {
            addCriterion("drug_store is null");
            return (Criteria) this;
        }

        public Criteria andDrugStoreIsNotNull() {
            addCriterion("drug_store is not null");
            return (Criteria) this;
        }

        public Criteria andDrugStoreEqualTo(String value) {
            addCriterion("drug_store =", value, "drugStore");
            return (Criteria) this;
        }

        public Criteria andDrugStoreNotEqualTo(String value) {
            addCriterion("drug_store <>", value, "drugStore");
            return (Criteria) this;
        }

        public Criteria andDrugStoreGreaterThan(String value) {
            addCriterion("drug_store >", value, "drugStore");
            return (Criteria) this;
        }

        public Criteria andDrugStoreGreaterThanOrEqualTo(String value) {
            addCriterion("drug_store >=", value, "drugStore");
            return (Criteria) this;
        }

        public Criteria andDrugStoreLessThan(String value) {
            addCriterion("drug_store <", value, "drugStore");
            return (Criteria) this;
        }

        public Criteria andDrugStoreLessThanOrEqualTo(String value) {
            addCriterion("drug_store <=", value, "drugStore");
            return (Criteria) this;
        }

        public Criteria andDrugStoreLike(String value) {
            addCriterion("drug_store like", value, "drugStore");
            return (Criteria) this;
        }

        public Criteria andDrugStoreNotLike(String value) {
            addCriterion("drug_store not like", value, "drugStore");
            return (Criteria) this;
        }

        public Criteria andDrugStoreIn(List<String> values) {
            addCriterion("drug_store in", values, "drugStore");
            return (Criteria) this;
        }

        public Criteria andDrugStoreNotIn(List<String> values) {
            addCriterion("drug_store not in", values, "drugStore");
            return (Criteria) this;
        }

        public Criteria andDrugStoreBetween(String value1, String value2) {
            addCriterion("drug_store between", value1, value2, "drugStore");
            return (Criteria) this;
        }

        public Criteria andDrugStoreNotBetween(String value1, String value2) {
            addCriterion("drug_store not between", value1, value2, "drugStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreIsNull() {
            addCriterion("phone_store is null");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreIsNotNull() {
            addCriterion("phone_store is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreEqualTo(String value) {
            addCriterion("phone_store =", value, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreNotEqualTo(String value) {
            addCriterion("phone_store <>", value, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreGreaterThan(String value) {
            addCriterion("phone_store >", value, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreGreaterThanOrEqualTo(String value) {
            addCriterion("phone_store >=", value, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreLessThan(String value) {
            addCriterion("phone_store <", value, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreLessThanOrEqualTo(String value) {
            addCriterion("phone_store <=", value, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreLike(String value) {
            addCriterion("phone_store like", value, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreNotLike(String value) {
            addCriterion("phone_store not like", value, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreIn(List<String> values) {
            addCriterion("phone_store in", values, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreNotIn(List<String> values) {
            addCriterion("phone_store not in", values, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreBetween(String value1, String value2) {
            addCriterion("phone_store between", value1, value2, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andPhoneStoreNotBetween(String value1, String value2) {
            addCriterion("phone_store not between", value1, value2, "phoneStore");
            return (Criteria) this;
        }

        public Criteria andStockIsNull() {
            addCriterion("stock is null");
            return (Criteria) this;
        }

        public Criteria andStockIsNotNull() {
            addCriterion("stock is not null");
            return (Criteria) this;
        }

        public Criteria andStockEqualTo(String value) {
            addCriterion("stock =", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockNotEqualTo(String value) {
            addCriterion("stock <>", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockGreaterThan(String value) {
            addCriterion("stock >", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockGreaterThanOrEqualTo(String value) {
            addCriterion("stock >=", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockLessThan(String value) {
            addCriterion("stock <", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockLessThanOrEqualTo(String value) {
            addCriterion("stock <=", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockLike(String value) {
            addCriterion("stock like", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockNotLike(String value) {
            addCriterion("stock not like", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockIn(List<String> values) {
            addCriterion("stock in", values, "stock");
            return (Criteria) this;
        }

        public Criteria andStockNotIn(List<String> values) {
            addCriterion("stock not in", values, "stock");
            return (Criteria) this;
        }

        public Criteria andStockBetween(String value1, String value2) {
            addCriterion("stock between", value1, value2, "stock");
            return (Criteria) this;
        }

        public Criteria andStockNotBetween(String value1, String value2) {
            addCriterion("stock not between", value1, value2, "stock");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNull() {
            addCriterion("longitude is null");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNotNull() {
            addCriterion("longitude is not null");
            return (Criteria) this;
        }

        public Criteria andLongitudeEqualTo(BigDecimal value) {
            addCriterion("longitude =", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotEqualTo(BigDecimal value) {
            addCriterion("longitude <>", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThan(BigDecimal value) {
            addCriterion("longitude >", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("longitude >=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThan(BigDecimal value) {
            addCriterion("longitude <", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("longitude <=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIn(List<BigDecimal> values) {
            addCriterion("longitude in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotIn(List<BigDecimal> values) {
            addCriterion("longitude not in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude not between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNull() {
            addCriterion("latitude is null");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNotNull() {
            addCriterion("latitude is not null");
            return (Criteria) this;
        }

        public Criteria andLatitudeEqualTo(BigDecimal value) {
            addCriterion("latitude =", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotEqualTo(BigDecimal value) {
            addCriterion("latitude <>", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThan(BigDecimal value) {
            addCriterion("latitude >", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("latitude >=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThan(BigDecimal value) {
            addCriterion("latitude <", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("latitude <=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIn(List<BigDecimal> values) {
            addCriterion("latitude in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotIn(List<BigDecimal> values) {
            addCriterion("latitude not in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude not between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsIsNull() {
            addCriterion("introducing_details is null");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsIsNotNull() {
            addCriterion("introducing_details is not null");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsEqualTo(String value) {
            addCriterion("introducing_details =", value, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsNotEqualTo(String value) {
            addCriterion("introducing_details <>", value, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsGreaterThan(String value) {
            addCriterion("introducing_details >", value, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsGreaterThanOrEqualTo(String value) {
            addCriterion("introducing_details >=", value, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsLessThan(String value) {
            addCriterion("introducing_details <", value, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsLessThanOrEqualTo(String value) {
            addCriterion("introducing_details <=", value, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsLike(String value) {
            addCriterion("introducing_details like", value, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsNotLike(String value) {
            addCriterion("introducing_details not like", value, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsIn(List<String> values) {
            addCriterion("introducing_details in", values, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsNotIn(List<String> values) {
            addCriterion("introducing_details not in", values, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsBetween(String value1, String value2) {
            addCriterion("introducing_details between", value1, value2, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andIntroducingDetailsNotBetween(String value1, String value2) {
            addCriterion("introducing_details not between", value1, value2, "introducingDetails");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursIsNull() {
            addCriterion("business_hours is null");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursIsNotNull() {
            addCriterion("business_hours is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursEqualTo(String value) {
            addCriterion("business_hours =", value, "businessHours");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursNotEqualTo(String value) {
            addCriterion("business_hours <>", value, "businessHours");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursGreaterThan(String value) {
            addCriterion("business_hours >", value, "businessHours");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursGreaterThanOrEqualTo(String value) {
            addCriterion("business_hours >=", value, "businessHours");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursLessThan(String value) {
            addCriterion("business_hours <", value, "businessHours");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursLessThanOrEqualTo(String value) {
            addCriterion("business_hours <=", value, "businessHours");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursLike(String value) {
            addCriterion("business_hours like", value, "businessHours");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursNotLike(String value) {
            addCriterion("business_hours not like", value, "businessHours");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursIn(List<String> values) {
            addCriterion("business_hours in", values, "businessHours");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursNotIn(List<String> values) {
            addCriterion("business_hours not in", values, "businessHours");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursBetween(String value1, String value2) {
            addCriterion("business_hours between", value1, value2, "businessHours");
            return (Criteria) this;
        }

        public Criteria andBusinessHoursNotBetween(String value1, String value2) {
            addCriterion("business_hours not between", value1, value2, "businessHours");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedIsNull() {
            addCriterion("is_synchronized is null");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedIsNotNull() {
            addCriterion("is_synchronized is not null");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedEqualTo(Integer value) {
            addCriterion("is_synchronized =", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedNotEqualTo(Integer value) {
            addCriterion("is_synchronized <>", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedGreaterThan(Integer value) {
            addCriterion("is_synchronized >", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_synchronized >=", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedLessThan(Integer value) {
            addCriterion("is_synchronized <", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedLessThanOrEqualTo(Integer value) {
            addCriterion("is_synchronized <=", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedIn(List<Integer> values) {
            addCriterion("is_synchronized in", values, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedNotIn(List<Integer> values) {
            addCriterion("is_synchronized not in", values, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedBetween(Integer value1, Integer value2) {
            addCriterion("is_synchronized between", value1, value2, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedNotBetween(Integer value1, Integer value2) {
            addCriterion("is_synchronized not between", value1, value2, "isSynchronized");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}